package com.assessment.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.assessment.dto.AssessmentIndexDTO;
import com.assessment.entity.AssessmentIndex;
import com.assessment.entity.AssessmentTemplate;

public interface IAssessmentIndexService
{
	public void saveOrUpdate(AssessmentIndex assessmentIndex);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public AssessmentIndex findOne(Long id);
	public Page<AssessmentIndexDTO> findAll(Long id,Pageable pageable);
	//动态条件查询
//	public Page<AssessmentIndex> findAll(Specification<AssessmentIndex> spec, Pageable pageable);
	public void saveOrUpdate(AssessmentIndexDTO assessmentIndexDTO);
}
